<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>更新权限</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body>
<form method="post" action="${pageContext.request.contextPath }/servlet/updatefunctionservlet">
	id：<input type="text" name="function_id" readonly="readonly" value="${updateFunction.functionId }"><br>
	权限名称：<input type="text" name="function_name" value="${updateFunction.functionName }"><br>
	权限路径：<input type="text" name="function_path" value="${updateFunction.functionPath }"><br>
	父权限：
	<select name="fatherFunction">
		<c:if test="${empty updateFunction.fatherFunction }">
			<option value="none">无</option>
		</c:if>
		<c:if test="${updateFunction.fatherFunction!=null }">
			<option value="${updateFunction.fatherFunction.functionName }"></option>
		</c:if>
		<c:forEach var="fatherFunction" items="${allfatherFunction }">
			<option value="${fatherFunction.functionName }">${fatherFunction.functionName }</option>
		</c:forEach>
	</select><br>
	<input type="submit" value="提交">
	<input type="reset" value="重置">
</form>
</body>
</html>